#ifndef MUSIC_H
#define MUSIC_H
#include <QUrl>

class Music
{
private:
    QUrl m_url;
    QString m_author;
    QString m_name;
    QString m_albumInfo;
    int m_bitRate;
    qint64 m_duration;

    void refreshMusicInfo();
public:
    Music();
    Music(QUrl url);

    QUrl getUrl(){return m_url;}

    QString getMusicInfo()const;
};

#endif // MUSIC_H
